<!doctype html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>Srcdoc-polyfill Test Suite</title>

        <!-- Test framework -->
        <link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
        <script src="../node_modules/qunitjs/qunit/qunit.js"></script>
        <script src="lib/jquery-1.7.2.js"></script>
        <script>QUnit.config.autostart = false;</script>

        <!-- Used for noConflict testing -->
        <script>window.srcDoc = "old";</script>

        <script src="load-source.js"></script>
    </head>
    <body>
        <h2>Module Formats</h2>
        <ul>
          <li><a href="?moduleFmt=global">Global</a></li>
          <li><a href="?moduleFmt=amdModule">AMD (module value)</a></li>
          <li><a href="?moduleFmt=amdGlobal">AMD (global value)</a></li>
          <li><a href="?moduleFmt=cjs">CommonJs</a> (requires build)</li>
        </ul>
        <div id="qunit"></div>

        <div id="qunit-fixture"></div>

        <!-- Test files -->
        <script src="tests.js"></script>

        <script>
            loadSource(location, function() {
                QUnit.start();
            });
        </script>
    </body>
</html>
